﻿using System;
using System.ComponentModel;

namespace OF.Utility.Logging
{
    /// <summary>
    /// 日志基础类
    /// </summary>
    [Serializable]
    public class BaseLog2
    {
        ///<summary>
        ///请求方法(POST GET)
        ///</summary>
        [Description("请求方法(POST GET)")]
        public string RequestMethod
        {
            get; set;
        }

        ///<summary>
        ///请求地址
        ///</summary>
        [Description("请求地址")]
        public string RequestUrl
        {
            get; set;
        }

        ///<summary>
        ///APP版本
        ///</summary>
        [Description("APP版本")]
        public string APPVersion
        {
            get; set;
        }

        ///<summary>
        ///出错平台（1：app,2：OP,3：取号机API，4：取号机客户端）
        ///</summary>
        [Description("出错平台（1：app,2：OP,3：取号机API，4：取号机客户端,5:车管在线服务）")]
        public int PlatformID
        {
            get; set;
        }

        ///<summary>
        ///平台版本(IOS 4.0)
        ///</summary>
        [Description("平台版本(IOS 4.0)")]
        public string PlatformVersion
        {
            get; set;
        }

        ///<summary>
        ///用户ID
        ///</summary>
        [Description("用户ID")]
        public long UserID
        {
            get; set;
        }

        ///<summary>
        ///提交内容(POST)
        ///</summary>
        [Description("提交内容(POST)")]
        public string PostData
        {
            get; set;
        }

        ///<summary>
        ///浏览器信息
        ///</summary>
        [Description("浏览器信息")]
        public string UA
        {
            get; set;
        }

        ///<summary>
        ///厂商
        ///</summary>
        [Description("厂商")]
        public string Vendor
        {
            get; set;
        }

        ///<summary>
        ///设备的型号
        ///</summary>
        [Description("设备的型号")]
        public string Model
        {
            get; set;
        }

        ///<summary>
        ///IOS设备令牌
        ///</summary>
        [Description("IOS设备令牌")]
        public string Token
        {
            get; set;
        }

        ///<summary>
        ///安卓服务令牌
        ///</summary>
        [Description("安卓服务令牌")]
        public string ClientId
        {
            get; set;
        }

        ///<summary>
        ///手机号
        ///</summary>
        [Description("手机号")]
        public string Moble
        {
            get; set;
        }

        ///<summary>
        ///国际标识码
        ///</summary>
        [Description("国际标识码")]
        public string Imei
        {
            get; set;
        }

        ///<summary>
        ///唯一标识符
        ///</summary>
        [Description("唯一标识符")]
        public string Uuid
        {
            get; set;
        }

        ///<summary>
        ///请求时间
        ///</summary>
        [Description("请求时间")]
        public DateTime CreatedDate
        {
            get; set;
        }

        ///<summary>
        ///IP地址
        ///</summary>
        [Description("IP地址")]
        public string ClientIP
        {
            get; set;
        }


    }
}
